import dragDialog from './dragDialog'

// 可拖拽式+可拉伸的el-dialog
const install = function (Vue) {
  Vue.directive('dragDialog', dragDialog)
}

if (window.Vue) {
  window['dragDialog'] = dragDialog
  Vue.use(install) // eslint-disable-line
}

export default install
